<template>
  <section>
    <h2>debugger页面</h2>
    <div>
      <el-button @click="clear">清空缓存</el-button>
    </div>
  </section>
</template>

<script>
  export default {
    methods: {
      clear() {
        window.localStorage.clear()
        this.$message.success('已清空缓存')
      }
    }
  }
</script>

<style>
  h2 {
    line-height: 3;
  }
</style>
